# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-rope
pkgver=0.17.0
pkgrel=0
pkgdesc="A Python refactoring library"
url="https://github.com/python-rope/rope"
arch="noarch"
license="LGPL-3.0-only"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/python-rope/rope/archive/$pkgver/rope-$pkgver.tar.gz"
builddir="$srcdir/rope-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6912b81e71630217cdeefe6bbf697123760ec1191f33bd980977036499cdfcce3e971cb93d7fe6913d8d0f1173e6527d10dba665342a54bc0dada6f66e97aba3  rope-0.17.0.tar.gz"
